package homework2;

public class Rectangle implements Shape{
    public Rectangle(){
        System.out.println("创建矩形");
    }

    @Override
    public void draw() {
        System.out.println("绘制出矩形");
    }

    @Override
    public void erase() {
        System.out.println("清除矩形");
    }
}
